"""
Version: 0.1
Author: CarpeDiem
Date: 2022/7/12
Description: itertools模块
迭代工具模块
"""
import itertools

# 产生ABCD的全排列
itertools.permutations('ABCD')
itertools.combinations('ABCDE', 3)
itertools.product('ABCD', '123')
itertools.cycle(('A', 'B', 'C'))